package com.cloud.wms.ui.returned.entity;

/**
 * @Author： Chen
 * @Date： 2021/5/20
 * @Desc：
 */
public class InventoryDetailEntity {

    /**
     * commodityId : quis adipisicing laboris ea
     * stockType : ut quis incididunt non
     * amount : occaecat et ut aliquip nisi
     * commodityName : anim magna eiusmod minim
     * barCode : Ut sit
     * boxCode : magna velit
     * expirationDate : non Ut minim
     * productionDate : tempor Duis
     * productBatchID : laboris velit Lorem
     * inDate : in enim sed ea dolor
     */

    private String commodityId;
    private int stockType;
    private int amount;
    private String commodityName;
    private String barCode;
    private String boxCode;
    private String expirationDate;
    private String defaultBatch;
    private String productionDate;
    private int productBatchID;
    private String inDate;

    public String getStockTypeName() {
        switch (stockType) {
            case 1:
                return "良";
            case 2:
                return "次";
            case 3:
                return "废";
        }
        return "良";
    }

    public String getDefaultBatch() {
        return defaultBatch;
    }

    public void setDefaultBatch(String defaultBatch) {
        this.defaultBatch = defaultBatch;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public int getStockType() {
        return stockType;
    }

    public void setStockType(int stockType) {
        this.stockType = stockType;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getBoxCode() {
        return boxCode;
    }

    public void setBoxCode(String boxCode) {
        this.boxCode = boxCode;
    }

    public String getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(String expirationDate) {
        this.expirationDate = expirationDate;
    }

    public String getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(String productionDate) {
        this.productionDate = productionDate;
    }

    public int getProductBatchID() {
        return productBatchID;
    }

    public void setProductBatchID(int productBatchID) {
        this.productBatchID = productBatchID;
    }

    public String getInDate() {
        return inDate;
    }

    public void setInDate(String inDate) {
        this.inDate = inDate;
    }
}
